package com.lgc.provider01.controller;

import com.lgc.provider01.service.impl.StudentServiceImpl;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @param
 * @author lvguangchun
 * @create 2022-08-24 9:21
 */
@RestController
@Api(tags = "测试接口类")
public class ProviderController {
    @Resource
    private StudentServiceImpl studentService;

    @ApiOperation("测试接口")
    @GetMapping("/info")
    public String getInfo(){
        return studentService.getInfo();
    }
}
